<?php
if( isset($t) && is_array($t) && count($t) > 0 ){
	foreach($t as $_t){
		if(!count($_t)>0){//过滤数组为空的广播
			continue;
		}
		?>
		<table width="100%" cellpadding="0" cellspacing="0" class="bk11">
			<tr>
				<td height="15" colspan="2" align="left" valign="top">&nbsp;</td>
			</tr>
			<tr>
				<td rowspan="2" align="left" valign="top" width="72">
					<table border="0" cellpadding="0" cellspacing="2" class="bk1">
						<tr>
							<td><a href="index.php?m=guest&u=<?php echo $_t["name"];?>" target="_blank"><img src="<?php echo strlen($_t["head"]) > 0 ? $_t["head"] : '/style/images/default_head_small.png';?>" width="50" height="50" border="0" /></a></td>
						</tr>
					</table>
				</td>
				<td valign="top" class="f7"><a href="index.php?m=guest&u=<?php echo $_t["name"];?>" target="_blank" class="blue"><?php echo $_t["nick"];?>：</a><?php echo $_t["text"]?></td>
			</tr>
			<tr>
				<td align="left" class="f8"><?php echo date("Y-m-d H:i:s", $_t["timestamp"]);?> 来自 <?php echo $_t["from"];?></td>
			</tr>
			<tr>
				<td colspan="2">&nbsp;</td>
			</tr>
		</table>
		<?php
	}
}
?>
